<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <!-- <button>按钮</button>
    <script src="./node_modules/jquery/dist/jquery.js"></script>
    <script>
        $("button").click(function(){
            $.ajax({  
            type: "get",  
            async: false,  
            url: "https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=a",  
            dataType: "jsonp",  
            jsonp: "cb",//传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(一般默认为:callback)  
            // jsonpCallback: "func",//自定义的jsonp回调函数名称，默认为jQuery自动生成的随机函数名，也可以写"?"，jQuery会自动为你处理数据  
            success: function (data) {  
                console.log(data)
            },  
            error: function () {  
                alert('fail');  
            }  
        });  
        })

    </script> -->
    <script>
        function func(data){
            console.log(data)
        }
    </script>
    <script src="https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=a&cb=func"></script>
    <script>
        var arr = [];

    </script>
</body>
</html>